babl-cache: store reference fishes in the cache
authorEll <ell_se@yahoo.com>
Sat, 4 Aug 2018 06:18:37 +0000 (02:18 -0400)
committerEll <ell_se@yahoo.com>
Sat, 4 Aug 2018 07:02:59 +0000 (03:02 -0400)
commitc21c3f2d671b61dbbb223c444d68b02c06d3df14
tree9c79469feb781e41b4c85e2c0c0335885c462cc4
parent03716a3d94d78cf6f0c4545104169f71c2738a1c
babl-cache: store reference fishes in the cache

When we only have a reference fish for a given conversion, and not
a path fish, store a corresponding entry in the cache, marked by a
"[reference]" tag in the fish's attributes line, and containing no
conversion list.  When reloading the cache, make sure a reference
fish is created for the conversion without trying to construct a
path fish, so that we don't waste time trying to search for a
conversion path.

Note that we still show a "missing fast path" warning, even for
cached reference fishes.
babl/babl-cache.c
babl/babl-fish-path.c
babl/babl-fish.c
babl/babl-internal.h